package com.happyhome.services;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.happyhome.dao.ProvinceDao;
import com.happyhome.datamodel.Province;

@Service
public class ProvinceServiceImpl implements ProvinceService{
	
	@SuppressWarnings("unused")
	private static final Logger LOGGER = LoggerFactory.getLogger(ProvinceServiceImpl.class);
	
	@Autowired
    private ProvinceDao provinceDao;

	@Override
	public List<Province> getAllProvinces() {
		return provinceDao.getAllProvinces();
	}
}
